<style>
.home_news{
	width:280px;
	float:left;
	overflow:hidden;
	text-align:center;
}
.home_image {
	height:170px;
	border:1px solid #FC0;
	margin-top:5px;
	padding:3px;
	
	
}
.home_news h1{
	font-size:17px;
	text-align:left;

}
.home_news .gioithieu {
	text-align:justify;
}

.latest_news{
	width:290px;
	margin-left:10px;
	float:left;
}
.latest_news a{
	color: #333;
}
.latest_news a:hover{
	color: #F60;
}
.latest_news ul {
	margin:0px;
	padding-left:20px;
	list-style-image:url(public/images/arrow.jpg);
}
.viewmore ul {
	margin:0px;
	padding-left:20px;
	list-style-image:url(public/images/arrow.jpg);
}
.viewmore ul li {
	
	
	
	
}
.viewmore a{
	font-size:14px;
	color: #000 ;
	
}
.viewmore a:hover{
	color:#F60;
}
</style>
<div style="float:left; width:600px">
<div class="home_news">
   <img src="public/media/images/upload/<?php echo $data[hot][hinhanh];?>" class="home_image"  />
   <h1><?php echo $data[hot][tieude]?></h1>
   <p class="gioithieu"> <?php echo $data[hot][gioithieu];?></p>
</div>


<div class="latest_news">
        <ul>
        	<?php
			foreach($data[latest] as $row){
			
			echo "<li><a href=".seo_baiviet($row[id],$row[seo_tieude])." title='$row[tieude]'>$row[tieude]</a></li>";
			}
			
			?>
           
        </ul>
</div>
<div style="clear:left"></div>

		<div style="border-bottom:1px solid #FC9"></div>
		<div class="list_news">
        <ul>
        <?php
		
		foreach($data[latest] as $rs)
		{
		?>
        <li> 
        	<h1>
			<a href="<?php echo seo_baiviet($rs['id'],$rs['seo_tieude']);?>"><?php echo $rs['tieude'];?></a>
              <div class="info">
               <span class="user"><?php echo $rs['user_add'] ?></span> |
              <span class="time"><?php echo $rs['time_show'] ?></span> in <span class="cat"> 
      <a href="<?php echo seo_category($rs['cat_alias'],$rs['cat_id']);?>" title="<?php echo $rs['cat_title'] ?>"><?php echo $rs['cat_title'];?></a> </span>
              </div>
            </h1>
          	
			<?php if($rs['hinhanh'] != "") {
			?>
           			 <img src="public/media/images/thumb/<?php echo $rs['hinhanh']?>"  align="left" /> 
            <?php	
			}?> <p class="des"><?php echo $rs['gioithieu']?></p>
            	<p class="more"> Read More...</p>
            
            <div class="cls"></div>
            <div style="border-bottom:1px solid #FC3; padding:4px"></div>
        </li>
		<?php
        }
		?>
        </ul>
		</div>
        
        <div class="viewmore">
        	 	<div style="float:left; width:280px">
               <ul>
				<?php
                foreach($data[latest] as $row){
                
                 echo "<li><a href=# title='$row[tieude]'>".limit($row[tieude],35)."</a></li>";
                }
                ?>
            	</ul>
                </div>
                 	<div style="float:left; width:280px">
               <ul>
				<?php
                foreach($data[latest] as $row){
                
                echo "<li><a href=# title='$row[tieude]'>".limit($row[tieude],35)."</a></li>";
                }
                ?>
            	</ul>
                </div>
        </div>
        
        <?php
		//=================== LIST GAME ----------------------------
		/*
		?>
        
        
        <div style="border-bottom:1px solid #FC9"></div>
        <div class="list_news">
        <ul>
        <?php
		foreach($data[gamelatest] as $rs)
		{
		?>
        <li> 
        	<h1>
			<a href="<?php echo seo_baiviet_game($rs['id'],$rs['seo_tieude']);?>"><?php echo $rs['tieude'];?></a>
              <div class="info">
               <span class="user"><?php echo $rs['user_add'] ?></span> |
              <span class="time"><?php echo $rs['time_show'] ?></span> in <span class="cat"> 
      <a href="<?php echo seo_category($rs['cat_alias'],$rs['cat_id']);?>" title="<?php echo $rs['cat_title'] ?>"><?php echo $rs['cat_title'];?></a> </span>
              </div>
            </h1>
          	
			<?php if($rs['hinhanh'] != "") {
			?>
           			 <img src="<?php echo $rs['hinhanh']?>" width="100" height="100"  align="left" /> 
            <?php	
			}?> <p class="des"><?php echo $rs['gioithieu']?></p>
            	<p class="more">View : 100 | Comment : 5 | Read more...</p>
            
            <div class="cls"></div>
            <div style="border-bottom:1px solid #FC3; padding:4px"></div>
        </li>
		<?php
        }
		?>
        </ul>
		</div>
        
        <div class="viewmore">
        	 	<div style="float:left; width:280px">
               <ul>
				<?php
                foreach($data[gamelatest] as $row){
                
                 echo "<li><a href=# title='$row[tieude]'>".limit($row[tieude],35)."</a></li>";
                }
                ?>
            	</ul>
                </div>
                 	<div style="float:left; width:280px">
               <ul>
				<?php
                foreach($data[gamelatest] as $row){
                
                echo "<li><a href=# title='$row[tieude]'>".limit($row[tieude],35)."</a></li>";
                }
                ?>
            	</ul>
                </div>
        </div>
        <?php
		*/?>
        
</div>
